//
//  NewCanPinMsgModel.h
//  FD
//
//  Created by xiaofang wang on 2018/11/21.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//  11-21新餐品信息

#import <Foundation/Foundation.h>
#import "NewCanPinMsgModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface NewCanPinMsgBigModel : NSObject
/**1.数量*/
@property (nonatomic, strong) NSNumber *quantity;
/**2.字典 */
@property (nonatomic, strong) NSDictionary *goods;

/**3.备注 如果有备注就显示备注,没有就不显示备注*/
@property (nonatomic, copy) NSString *remark;
/**4.商品id 单独转换*/
@property (nonatomic, strong) NSNumber *goodsId;

/**7.单个商品的总价 单独转换
 
 2019-1-3新增字段:free:n 表示前几个不要钱
 free:0 前0个不要钱
 free:2 前2个不要钱。
 */
@property (nonatomic) CGFloat price;


//方便使用，内部处理
/**5.单独提取出来 作为section区头 */
@property (nonatomic, copy) NSString *bigTitle;

//2019-1-3直接写个方法放在那是不会执行的
//getter 请在外部调用getter方法.负责getter方法不会执行。
/**rowArr 1个或者0个*/
@property (nonatomic, strong) NSArray <NewCanPinMsgModel *>*cellRowArr;
@end

NS_ASSUME_NONNULL_END
/**
 参考数据
 {"event":"SUCCESS","data":[{"quantity":4,"goods":{"originalPrice":0.00,"ingredientClassify":[{"name":"No","ingredientList":[{"originalPrice":0.00,"name":"Cherry tomato","currentPrice":0.00,"id":41},{"originalPrice":0.00,"name":"Pineapples","currentPrice":0.00,"id":40},{"originalPrice":0.00,"name":"Carrots","currentPrice":0.00,"id":39},{"originalPrice":0.00,"name":"Onion","currentPrice":0.00,"id":38}],"id":6},{"name":"Main","ingredientList":[{"originalPrice":11.00,"name":"Prawn","currentPrice":11.00,"id":50}],"id":8}],"currentPrice":0.00,"id":67,"title":"pad thai fried rice"},"remark":"","id":191},{"quantity":1,"goods":{"originalPrice":0.00,"ingredientClassify":[{"name":"No","ingredientList":[{"originalPrice":0.00,"name":"Onion","currentPrice":0.00,"id":38},{"originalPrice":0.00,"name":"Cherry tomato","currentPrice":0.00,"id":41},{"originalPrice":0.00,"name":"Pineapples","currentPrice":0.00,"id":40},{"originalPrice":0.00,"name":"Carrots","currentPrice":0.00,"id":39}],"id":6},{"name":"Main","ingredientList":[{"originalPrice":11.00,"name":"Prawn","currentPrice":11.00,"id":50}],"id":8}],"currentPrice":0.00,"id":67,"title":"pad thai fried rice"},"remark":"","id":190},{"quantity":4,"goods":{"originalPrice":9.50,"ingredientClassify":[],"currentPrice":9.50,"id":63,"title":"spaghetti alla bolognese"},"remark":"","id":189},{"quantity":2,"goods":{"originalPrice":0.00,"ingredientClassify":[{"name":"No","ingredientList":[{"originalPrice":0.00,"name":"Mixed peppers","currentPrice":0.00,"id":42},{"originalPrice":0.00,"name":"Pineapples","currentPrice":0.00,"id":40},{"originalPrice":0.00,"name":"Onion","currentPrice":0.00,"id":38}],"id":6},{"name":"Main","ingredientList":[{"originalPrice":9.00,"name":"Vegetable","currentPrice":9.00,"id":47}],"id":8}],"currentPrice":0.00,"id":66,"title":"yaki soba"},"remark":"Faded asdf ads","id":188}],"describe":""}
 */
